import request from '@/utils/request'

// 查询OA报销申请-费用明细列表
export function listReimbursement_detail(query) {
  return request({
    url: '/oa/reimbursement_detail/list',
    method: 'get',
    params: query
  })
}

// 查询OA报销申请-费用明细详细
export function getReimbursement_detail(id) {
  return request({
    url: '/oa/reimbursement_detail/' + id,
    method: 'get'
  })
}

// 新增OA报销申请-费用明细
export function addReimbursement_detail(data) {
  return request({
    url: '/oa/reimbursement_detail',
    method: 'post',
    data: data
  })
}

// 修改OA报销申请-费用明细
export function updateReimbursement_detail(data) {
  return request({
    url: '/oa/reimbursement_detail',
    method: 'put',
    data: data
  })
}

// 删除OA报销申请-费用明细
export function delReimbursement_detail(id) {
  return request({
    url: '/oa/reimbursement_detail/' + id,
    method: 'delete'
  })
}
